package com.hldsmart.smartda.activity.mine;

import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.hldsmart.smartda.R;
import com.hldsmart.smartda.activity.home.SmartActivity;
import com.hldsmart.smartda.base.BaseActivity;

import butterknife.Bind;
import butterknife.ButterKnife;

public class QuanDetailActivity extends BaseActivity implements View.OnClickListener {

    @Bind(R.id.iv_quanDetail_back)
    ImageView iv_quanDetail_back;

    public static void startQuanDetailActivity(Context context) {
        Intent intent = new Intent(context, QuanDetailActivity.class);
        context.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_quan_detail);
        ButterKnife.bind(this);
        setListener();
    }

    private void setListener() {
        iv_quanDetail_back.setOnClickListener(this);

    }
    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.iv_quanDetail_back:
                finish();
                break;
        }
    }
}
